package com.kingdee.eas.fi.gl.app;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import java.util.Map;
import com.kingdee.eas.framework.app.ObjectBaseController;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.fi.gl.CashflowRecordCollection;
import java.util.List;
import com.kingdee.eas.fi.gl.CashflowRecordInfo;
import com.kingdee.eas.fi.gl.CashFlowFilterPara;

import java.rmi.RemoteException;
import com.kingdee.bos.framework.ejb.BizController;

public interface CashflowRecordController extends ObjectBaseController
{
    public CashflowRecordCollection getCashflowRecordCollection(Context ctx) throws BOSException, RemoteException;
    public CashflowRecordCollection getCashflowRecordCollection(Context ctx, EntityViewInfo view) throws BOSException, RemoteException;
    public Object[] genCashFlow(Context ctx, CashFlowFilterPara cashFlowFilterPara) throws BOSException, EASBizException, RemoteException;
    public CashflowRecordCollection getCashflowRecordCollection(Context ctx, String oql) throws BOSException, RemoteException;
    public void saveCashflowCols(Context ctx, IObjectCollection cashflowCols, Map mapParam) throws BOSException, EASBizException, RemoteException;
    public Map getDifference(Context ctx) throws BOSException, EASBizException, RemoteException;
    public Map getColAndDifference(Context ctx, String vchId) throws BOSException, EASBizException, RemoteException;
    public boolean hasExchangeItem(Context ctx) throws BOSException, RemoteException;
    public CashflowRecordCollection lazyLoad(Context ctx, Map saveParam) throws BOSException, EASBizException, RemoteException;
    public Map saveUn(Context ctx, CashflowRecordCollection cfCol) throws BOSException, EASBizException, RemoteException;
    public boolean clear(Context ctx, String voucherId) throws BOSException, EASBizException, RemoteException;
    public void addNewBatch(Context ctx, CashflowRecordCollection records) throws BOSException, EASBizException, RemoteException;
    public void deleteBatch(Context ctx, List pks) throws BOSException, EASBizException, RemoteException;
    public void releaseTempTable(Context ctx, String tableName) throws BOSException, RemoteException;
    public Map queryAssignedIncorrectVoucher(Context ctx, boolean queryPrimaryItem, boolean querySupplementaryItem, Map params) throws BOSException, EASBizException, RemoteException;
}